﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyAlbum.Logging
{
    public abstract class ILogger
    {
        public const string ErrorsFileName = "errors.txt";
        public const string TraceFileName = "trace.txt";
        public bool EnableTrace { get; set; }
        public bool EmailOnErrors { get; set; }
        public string SmtpHost { get; set; }
        public string Email { get; set; }
        public string SenderEmail { get; set; }
        public string SmtpUsername { get; set; }
        public string SmtpPassword { get; set; }
        public abstract void LogError(Exception e1);
        public abstract void LogError(string message);
        public abstract void LogError(Exception e1, string message);
        public abstract void Trace(object data);
        public abstract void Info(string message);
        public abstract void Warning(string message);
    }
}
